package com.centaline.androidsalesblog.api.sale;

import com.centaline.androidsalesblog.api.SaleApi;
import com.centaline.androidsalesblog.model.responseobject.EsfEstateDetailRo;
import com.centanet.framework.interfaces.IResponseListener;

/**
 * 小区详情
 * Created by guilin on 16/1/19.
 */
public class EstEstateDetailApi extends SaleApi<EsfEstateDetailRo> {

    private String cestCode;

    public EstEstateDetailApi(Class<?> tag, Class<EsfEstateDetailRo> aClass, IResponseListener<EsfEstateDetailRo> iResponseListener) {
        super(tag, aClass, iResponseListener);
    }

    public void setCestCode(String cestCode) {
        this.cestCode = cestCode;
    }

    @Override
    protected void setParams() {
        putParams("cestCode", cestCode);
    }

    @Override
    protected String getPath() {
        return "EsfEstate";
    }
}
